package factories

import (
	"github.com/brianvoe/gofakeit/v6"
	"github.com/goravel/framework/facades"
)

type UserFactory struct {
}

// Definition Define the model's default state.
func (f *UserFactory) Definition() map[string]any {
	password, _ := facades.Crypt().EncryptString("admin888")
	return map[string]any{
		"mobile":   gofakeit.Name(),
		"password": password,
	}
}
